<?php
/**
 * Copyright © 2013-2017 Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

// @codingStandardsIgnoreFile

?>

<?php $_childHtml = trim($block->getChildHtml('', false)); ?>
<?php if ($_childHtml): ?>
<?php $_item = $block->getItem() ?>
<tr>
    <td colspan="10" class="last">
        <a class="action-link" href="#" id="gift_options_link_<?php /* @escapeNotVerified */ echo $_item->getId() ?>"><?php /* @escapeNotVerified */ echo __('Gift Options') ?></a>
        <script>
require([
	"Magento_Sales/order/giftoptions_tooltip"
], function(){

	giftOptionsTooltip.addTargetLink('gift_options_link_<?php /* @escapeNotVerified */ echo $_item->getId() ?>', <?php /* @escapeNotVerified */ echo $_item->getId() ?>);

});
</script>
        <div id="gift_options_data_<?php /* @escapeNotVerified */ echo $_item->getId() ?>">
            <?php /* @escapeNotVerified */ echo $_childHtml ?>
        </div>
    </td>
</tr>
<?php endif ?>
